/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/* 
 * File:   Mesh.h
 * Author: ever
 *
 * Created on 2018年1月24日, 下午8:53
 */

#ifndef MESH_H
#define MESH_H

#include <stdio.h>
#include <string>
#include <time.h>
#include "TL_Datetime.h"

using std::string;
using tidp::TL_Datetime;
class Mesh {
public:
    Mesh();
    Mesh(const Mesh& orig);
    virtual ~Mesh();
    void setData(const char * data,int len);
    int getNum();
    void getTimeStr(string& str);
    bool hasNext();
    time_t getTime();
private:
    int _num;
    int _len;
    int _point_pos;
    const unsigned char * _data;
};

#endif /* MESH_H */

